﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharp06
{
    public class Triangle:Polygon
    {
        public int area()
        {
            return (width * height / 2);
        }
    }
}
